package com.yc.usercenterbackend.demos.model.request;

import lombok.Data;

import java.io.Serializable;

/**
 * 通用分页请求类
 *
 * @author WangJiYou
 **/
@Data
public class PageRequest implements Serializable {

    private static final long serialVersionUID = 5312632655763651538L;

    /**
     * 页面大小
     */
    protected int pageSize=10;

    /**
     * 当前是第几页
     */
    protected int pageNum=1;
}
